package org.shreker.shan.core.service;

import java.util.List;
import org.shreker.shan.base.queryobject.QueryObject;
import org.shreker.shan.core.domain.Log;

public interface ILogService {
	
	public void save(Log log) throws Exception;
	
	public Log get(Long id) throws Exception;

	Long queryCount(QueryObject queryObject);
	
	List<Log> query(QueryObject queryObject);
	
	Long queryCountByUserId(QueryObject queryObject, Long userId);
	
	List<Log> queryByUserId(QueryObject queryObject, Long userId);
	
}
